package com.hl.manage.mapper;

import com.hl.manage.entity.Department;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Helei
 * @return 
 * @since 2021-03-15
 */
public interface DepartmentMapper extends BaseMapper<Department> {
	List<Department> findByParentId(Integer parentId);
	List<Department> findByPIT(Integer type, Integer parentId, Integer id);
}
